package cn.tutu.blockchain.common;

public enum TypeEnum {

	MACHINE_ROOT_HASH("1", "根hash"), MACHINE_FILE_HASH("0", "文件目录hash"),
	// 矿机状态
	STATUS_Y("Y", "有效"), STATUS_N("N", "失效"),
	// 提现处理状态 0:已申请 1:转账失败 2：转账成功 3：待处理 4：已处理
	STATUS_0("0", "已申请"), STATUS_1("1", "转账失败"), STATUS_2("2", "转账成功"), STATUS_3("3", "待处理"), STATUS_4("4", "已处理");
	String code;

	String message;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	TypeEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

}
